s=str(input())
sum=''
for i in s:
    sum+=i
    print(sum)
